// 进度key
export const progressKeyMap = {
  not_start: 'GREY',
  in_progress: 'YELLOW',
  complete: 'GREEN',
  expire: 'RED'
}

// 进度颜色配置
export const progressColorMap = {
  [progressKeyMap.not_start]: {
    color: '#98A4B3',
    linearGradient: '#D7DEE6'
  },
  [progressKeyMap.in_progress]: {
    color: '#FFB700',
    linearGradient: 'linear-gradient(90deg, #FFA200 0%, #FFD800 100%)'
  },
  [progressKeyMap.complete]: {
    color: '#00D093',
    linearGradient: 'linear-gradient(90deg, #00D093 0%, #03EA83 100%)'
  },
  [progressKeyMap.expire]: {
    color: '#FF5F57',
    linearGradient: 'linear-gradient(90deg, #FF2C2C 0%, #FF664D 100%)'
  }
}

export const progressColor = {
  [progressKeyMap.not_start]: {
    borderRadius:'50px',
    // color: '#98A4B3',
    background: '#D7DEE6'
  },
  [progressKeyMap.in_progress]: {
    borderRadius:'50px',
    // color: '#FFB700',
    background: 'linear-gradient(90deg, #FFA200 0%, #FFD800 100%)'
  },
  [progressKeyMap.complete]: {
    borderRadius:'50px',
    // color: '#00D093',
    background: 'linear-gradient(90deg, #00D093 0%, #03EA83 100%)'
  },
  [progressKeyMap.expire]: {
    // color: '#FF5F57',
    borderRadius:'50px',
    background: 'linear-gradient(90deg, #FF2C2C 0%, #FF664D 100%)'
  }
}

// 问题类别
export const issueTypeList = [
  {label: '工艺原因', value: 'GYYY'},
  {label: '设计原因', value: 'SJYY'},
  {label: '使用原因', value: 'SYYY'},
  {label: '软件原因', value: 'RJYY'}
]

// 问题来源
export const issueSourceList = [
  {label: '举一反三', value: 'JYFS'},
  {label: '过程中发现', value: 'GCZFX'}
]

// 技术状态 变更原因
export const changeReasonList = [
  {label: '总体要求', value: 'ZTYQ'},
  {label: '完善设计', value: 'WSSJ'},
  {label: '举一反三', value: 'JYFS'}
]

// 验收情况
export const acceptanceList = [
  {label: '合格', value: 'Y'},
  {label: '不合格', value: 'N'}
]
